Skip to content

Enable streaming, adds setup script, other improvements#1

Merged
steookk merged 6 commits into
mainfrom
fix-streaming
Feb 24, 2026
Merged

Enable streaming, adds setup script, other improvements#1
steookk merged 6 commits into
mainfrom
fix-streaming

Conversation

@steookk
Copy link
Copy Markdown
Contributor

@steookk steookk commented Feb 23, 2026

  • adds .env.example
  • improves interactive cli client

- Wire onPartialReply in dispatchReplyWithBufferedBlockDispatcher to enable
  preview streaming: tokens now arrive progressively instead of all at once
- Pre-create placeholder message before dispatch (onPartialReply is fire-and-forget)
- Replace all hand-rolled loadEnv() functions with dotenv library
- Add .env.example with placeholder values (safe to commit)
- Add setup-app.ts for provisioning a new Stream Chat app
- Fix test-client.ts streaming display: track lastSeenText per message to
  print only delta characters instead of repeating cumulative text
- Print message IDs in test-client.ts for easier thread/quote testing
- Update CLAUDE.md with accurate inbound flow and key design decisions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
steookk and others added 5 commits February 23, 2026 22:07
- All scripts now load dotenv from their own directory via
  config({ path: new URL(".env", import.meta.url).pathname })
- setup-app.ts writes scripts/.env instead of project root .env
- Remove BOT_USER_ID from .env.example (not needed by scripts at runtime)
- Update .gitignore to match new paths

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@steookk steookk changed the title Enable streaming, add setup script for adding Stream app Enable streaming, adds setup script, other improvements Feb 24, 2026
@steookk steookk merged commit 794d8da into main Feb 24, 2026
1 check passed
@steookk steookk deleted the fix-streaming branch February 24, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant